package com.ruoyi.basic.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.ruoyi.common.core.domain.TreeEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * 课程分类对象 jy_course_category
 *
 * @author aulbrother
 * @date 2024-04-05
 */
@Setter
@Getter
@ColumnWidth(20)
public class JyCourseCategory extends TreeEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ExcelIgnore
    private Long id;

    /**
     * 上级
     */
    @ExcelIgnore
    private Long pid;

    /**
     * 课程分类
     */
    @ExcelProperty(value = "课程分类")
    private String categoryName;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long showOrder;

    /**
     * 是否可用：1可用
     */
    @ExcelProperty(value = "是否可用：1可用")
    private Integer available;
}
